package ru.zombator.taskman.core.query.payload;

/**
 * Ответ "объект успешно создан"
 * 
 * @see CreateProjectRequest
 * @see CreateTaskRequest
 * 
 * @author nvamelichev
 *
 */
public class ObjectCreatedResponse implements IPayload {
	private static final long serialVersionUID = 1L;

	private Object createdObject;
	public ObjectCreatedResponse(Object createdObject) {
		this.createdObject = createdObject;
	}
	
	public Object getCreatedObject() {
		return this.createdObject;
	}
}
